var status = -1;
var selectionLog = [];

function start() {
    action(1, 0, 0)
}

function action(d, c, b) {
    if (status == 0 && d == 0) {
        cm.dispose();
        return
    }(d == 1) ? status++ : status--;
    selectionLog[status] = b;
    var a = -1;
    if (status <= a++) {
        cm.dispose()
    } else {
        if (status === a++) {
            cm.sendNormalTalk_Bottom("这本书看着倒是很新。", 57, 9201553, false, true)
        } else {
            if (status === a++) {
                cm.sendNormalTalk_Bottom("介绍的是#b反转界的语言#k，主人是……#b张博士？#k\r\n这谁啊？", 57, 9201553, true, true)
            } else {
                if (status === a++) {
                    if (cm.getNumberFromQuestInfo(61347, "c1") == 1) {
                        cm.updateInfoQuest(61347, "c1=2")
                    }
                    cm.dispose()
                }
            }
        }
    }
};